import { request } from '@/service/request';
import type { Monitor, OnelineSearchParams } from '@/service/types/monitor';

export function getInfo(params?: OnelineSearchParams) {
  return request<Monitor.CacheVo>({
    url: '/monitor/cache',
    method: 'get',
    params
  });
}
